<!DOCTYPE html>
<html>
<head>
    <meta name="layout" content="main" />
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
    <g:set var="entityName" value="${message(code: 'estate.label', default: 'Estate')}" />
    <title>贷款详情</title>
    <asset:stylesheet src="intelligence/swiper.css"/>
    <style>
    .contact-stat{
        padding: 8px 0px;
        text-align: center;
    }
    .contact-stat span{
        font-size: 13px;
        color: #88898c;
        margin-bottom: 10px;
    }
    .contact-stat strong{
        font-size: 13px;
        word-wrap: break-word;
    }
    .nav-tabs{
        border-bottom: none;
    }
    .hpanel > .panel-footer, .hpanel > .panel-section{
        background: #f9f9f9;
    }
    .flex{
        display: flex;justify-content: center;align-items: center;
    }
    .newFontSize{
        font-size: 12px;
    }
    table>tbody>tr>td, table>tbody>tr>th,.table>tfoot>tr>td, table>tfoot>tr>th, table>thead>tr>td, table>thead>tr>th{
        padding: 8px;
        line-height: 1.42857143;
        white-space: nowrap;
    }
    /*轮播图样式*/
    .swiper-container{
        width: 100%;
        height: 300px;
        margin-top: 10px;
    }
    .swiper-pagination-bullet-active{
        opacity: 0.6;
        background: #fff;
    }
    @media (max-width:1654px){
        #screenPage,#screenPage_1{
            height:162px;
        }
    }
    @media (max-width:1382px){
        #screenPage_2{
            height:477px;
        }
    }
    </style>
</head>
<body class="fixed-navbar fixed-sidebar">

<div class="small-header">
    <div class="hpanel">
        <div class="panel-body">
            <div id="hbreadcrumb" class="pull-right navFloatRight">
                <ol class="hbreadcrumb breadcrumb">
                    <li>
                        <span>CINDATA PLS</span>
                    </li>
                    <li>
                        <g:link action="index">
                            <span>贷款</span>
                        </g:link>
                    </li>
                    <li class="active">
                        <span>贷款详情</span>
                    </li>
                </ol>
            </div>
        </div>
    </div>
</div>

<div class="content animate-panel">

    %{--主要信息--}%
    <div class="row">
        <div class="hpanel hgreen" style="">
            <div class="panel-heading">
                <div class="panel-tools">
                    <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                </div>
                主要信息
            </div>

            <div class="panel-body">
                <div class="col-md-12 text-center">
                    <div class="col-md-3" style="width: 16.6%;">
                        <h3 class="font-extra-bold m-b-xs text-center">
                            <small style="font-size: 16px;">贷款总额 : </small>
                            <span class="totalPrice"><g:if test="${mortgage?.loansAmount}"><g:formatNumber number="${mortgage?.loansAmount/10000}" minFractionDigits="2" maxFractionDigits="2"/></g:if><g:else>-</g:else></span>
                            <small class="newFontSize">万元</small>
                        </h3>
                    </div>
                    <div class="col-md-3" style="width: 16.6%;">
                        <h3 class="font-extra-bold m-b-xs text-center">
                            <h3 class="font-extra-bold m-b-xs text-center">
                                <small style="font-size: 16px;">贷款余额 : </small>
                                <span class="totalPrice"><g:if test="${mortgage?.loansBalance}"><g:formatNumber number="${mortgage?.loansBalance/10000}" minFractionDigits="2" maxFractionDigits="2"/></g:if><g:else>-</g:else></span>
                                <small class="newFontSize">万元</small>
                            </h3>
                        </h3>
                    </div>
                    <div class="col-md-3" style="width: 16.6%;">
                        <h3 class="font-extra-bold m-b-xs text-center">
                            <h3 class="font-extra-bold m-b-xs text-center">
                                <small style="font-size: 16px;">贷款方式 : </small>
                                <span>${mortgage?.mortgagePattern?mortgage?.mortgagePattern.name:'-'}</span>
                                <small class="newFontSize"></small>
                            </h3>
                        </h3>
                    </div>
                    <div class="col-md-3" style="width: 16.6%;">
                        <h3 class="font-extra-bold m-b-xs">
                            <small style="font-size: 16px;">贷款状态 : </small>
                            <span >${mortgage?.mortgageStatus?mortgage?.mortgageStatus.name:'-'}</span>
                            <small class="newFontSize"></small>
                        </h3>
                    </div>
                    <div class="col-md-3" style="width: 16.6%;">
                        <h3 class="font-extra-bold m-b-xs">
                            <small style="font-size: 16px;">抵押类型 : </small>
                            <span>${mortgage?.mortgageType?mortgage?.mortgageType.name:'-'}</span>
                            <small class="newFontSize"></small>
                        </h3>
                    </div>
                    <div class="col-md-3" style="width: 16.6%;">
                        <h3 class="font-extra-bold m-b-xs">
                            <small style="font-size: 16px;">是否不良 : </small>
                            <g:if test="${mortgage?.isNonPerformingLoan}">
                                <span style="color: #E51C23">不良</span>
                            </g:if>
                            <g:else>
                                <span style="color: #62CB31">良</span>
                            </g:else>
                            <small class="newFontSize"></small>
                        </h3>
                    </div>
                </div>
            </div>
        </div>
    </div>
    %{--贷款信息--}%
    <div class="row">
        <div class="hpanel hgreen" style="">
            <div class="panel-heading">
                <div class="panel-tools">
                    <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                </div>
                贷款信息
            </div>

            <div class="panel-body no-padding" style="overflow-x:scroll;">
                <table class="table table-striped table-bordered table-hover text-center">
                    <thead>
                    <tr>
                        <th>贷款编号</th>
                        <th>贷款余额</th>
                        <th>贷款总额</th>
                        <th>成交总价</th>
                        <th>回收总本金</th>
                        <th>回收总利息</th>
                        <th>回收总罚息</th>
                        <th>贷款状态</th>
                        <th>逾期期数</th>
                        <th>担保机构</th>
                        <th>放款银行</th>
                        <th>抵押类型</th>
                        <th>贷款方式</th>
                        <th>是否不良</th>
                        <th>贷款时评估总价</th>
                        <th>贷款时评估单价</th>
                        <th>贷款到期日</th>
                        <th>贷款放款日</th>
                        <th>已还期数</th>
                        <th>剩余还款总期数</th>
                        <th>还款方式</th>
                        <th>月还款金额</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td>${mortgage?.serialNumber?mortgage?.serialNumber:'-'}</td>
                        <td>${mortgage?.loansBalance?mortgage?.loansBalance:'-'}元</td>
                        <td>${mortgage?.loansAmount?mortgage?.loansAmount:'-'}元</td>
                        <td>
                            <g:if test="${mortgage?.loansEvaluateTotalPrice}">
                                ${com.cindata.NumberUtil.GetFixedNumber(mortgage?.loansEvaluateTotalPrice/10000)}（万元）
                            </g:if>
                            <g:else>
                                -
                            </g:else>
                        </td>
                        <td>${mortgage?.curRecycleTotalCapital?mortgage?.curRecycleTotalCapital:'-'}元</td>
                        <td>${mortgage?.curRecycleTotalInterest?mortgage?.curRecycleTotalInterest:'-'}元</td>
                        <td>${mortgage?.curRecycleTotalFine?mortgage?.curRecycleTotalFine:'-'}元</td>
                        <td>${mortgage?.mortgageStatus?mortgage?.mortgageStatus?.name:'-'}</td>
                        <td>${mortgage?.curOverdueDuration?mortgage?.curOverdueDuration:'-'}</td>
                        <td>${mortgage?.guaranteeInstitution?mortgage?.guaranteeInstitution.name:'-'}</td>
                        <td>${mortgage?.loansBankName?mortgage?.loansBankName:'-'}</td>
                        <td>${mortgage?.mortgageType?mortgage?.mortgageType?.name:'-'}</td>
                        <td>${mortgage?.mortgagePattern?mortgage?.mortgagePattern?.name:'-'}</td>
                        <td>${mortgage?.isNonPerformingLoan?'不良':'良'}</td>
                        <td>${mortgage?.loansEvaluateTotalPrice?mortgage?.loansEvaluateTotalPrice:'-'}元</td>
                        <td>${mortgage?.loansEvaluatePrice?mortgage?.loansEvaluatePrice:'-'}元</td>
                        <td>
                            <g:if test="${mortgage?.endDate}">
                                <g:formatDate date="${mortgage?.endDate}" format="yyyy-MM-dd"></g:formatDate>
                            </g:if>
                            <g:else>
                                -
                            </g:else>
                        </td>
                        <td>
                            <g:if test="${mortgage?.startDate}">
                                <g:formatDate date="${mortgage?.startDate}" format="yyyy-MM-dd"></g:formatDate>
                            </g:if>
                            <g:else>
                                -
                            </g:else>
                        </td>
                        <td>${mortgage?.curHasPaymentTODuration?mortgage?.curHasPaymentTODuration:'-'}月</td>
                        <td>${mortgage?.remainTime?mortgage?.remainTime:'-'}月</td>
                        <td>${mortgage?.curRepaymentMode?mortgage?.curRepaymentMode?.name:'-'}</td>
                        <td>${mortgage?.monthlyRepaymentAmount?mortgage?.monthlyRepaymentAmount:'-'}元</td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>

    <g:if test="${mortgage?.mortgageCategory?.name == '零售贷'}">
    %{--借款人信息--}%
        <div class="row">
            <div class="hpanel hgreen" style="">
                <div class="panel-heading">
                    <div class="panel-tools">
                        %{--<g:link controller="contact" params="[mortgage: mortgage?.id]" action="create" class="btn btn-info btn-xs"><i class="fa fa-plus"></i>新建</g:link>--}%
                        <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                    </div>
                    借款人信息
                </div>
                <div class="panel-body no-padding">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <th>姓名</th>
                            <th>证件类型</th>
                            <th>证件号码</th>
                            <th>生日</th>
                            <th>户口</th>
                            <th>联系方式</th>
                            <th>工作单位</th>
                            <th>工作单位性质</th>
                            <th>贷款时已购房套数</th>
                            <th>贷款时家庭月收入</th>
                            <th>信用等级</th>
                            <th>信用额度</th>
                            <th>信用余额</th>
                        </tr>
                        </thead>
                        <tbody>
                        <g:each in="${com.cindata.MortgageContact.findAllByMortgage(mortgage)*.contact?.unique()}">
                            <tr>
                                <td><g:link class="firstTd" style="color: #3498DB" action="show" id="${it?.id}" controller="contact">${it?.fullName}</g:link></td>
                                <td>${it?.identityType?it?.identityType.name:'-'}</td>
                                <td>${it?.idNumber}</td>
                                <td>
                                    <g:if test="${it?.birthday}">
                                        <g:formatDate date="${it?.birthday}" format="yyyy-MM-dd"></g:formatDate>
                                    </g:if>
                                    <g:else>
                                        -
                                    </g:else>
                                </td>
                                <td>${it?.accountNature?it?.accountNature.name:'-'}</td>
                                <td>${it?.cellphone?it?.cellphone:'-'}</td>
                                <td>${it?.workUnitName?it?.workUnitName:'-'}</td>
                                <td>${it?.workUnitNature?it?.workUnitNature.name:'-'}</td>
                                <td>${it?.ownHouseCount?it?.ownHouseCount:0}</td>
                                <td>${it?.fmiOnLoans?it?.fmiOnLoans:'-'}</td>
                                <td>${it?.creditLevel?it?.creditLevel:'-'}</td>
                                <td>${it?.creditAmount?it?.creditAmount:'-'}</td>
                                <td>${it?.creditBalance?it?.creditBalance:'-'}</td>
                            </tr>
                        </g:each>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </g:if>

%{--企业信息--}%
    <g:if test="${mortgage?.mortgageCategory?.name == '企业贷' || mortgage?.mortgageCategory?.name == '小微贷'}">
        <div class="row">
            <div class="hpanel hgreen" style="">
                <div class="panel-heading">
                    <div class="panel-tools">
                        %{--<g:link controller="contact" params="[collateral: this.collateral?.id]" action="createCommonContact" class="btn btn-info btn-xs"><i class="fa fa-plus"></i>新建</g:link>--}%
                        <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                    </div>
                    企业信息
                </div>
                <div class="panel-body no-padding">
                    <table class="table table-striped table-bordered table-hover text-center">
                        <thead>
                        <tr>
                            <th>企业名称</th>
                            <th>城市</th>
                            <th>行政区</th>
                            <th>单位性质</th>
                            <th>经营状态</th>
                            <th>注册资金</th>
                            <th>实收资本金</th>
                            <th>实收资本金币种</th>
                            <th>信用等级</th>
                            <th>信用额度</th>
                            <th>信用余额</th>
                        </tr>
                        </thead>
                        <tbody>
                        <g:each in="${mortgage?.mortgageAccount}">
                            <tr>
                                <td><g:link class="firstTd" style="color: #3498DB" controller="account" action="show" id="${it?.id}">${it?.name}</g:link></td>
                                <td>${it?.city?it?.city.name:'-'}</td>
                                <td>${it?.district?it?.district.name:'-'}</td>
                                <td>${it?.unitNature?it?.unitNature.name:'-'}</td>
                                <td>${it?.operatingState?it?.operatingState:'-'}</td>
                                <td>${it?.registeredCapital?it?.registeredCapital:'-'}</td>
                                <td>${it?.actuallyRaisingFund?it?.actuallyRaisingFund:0}</td>
                                <td>${it?.currency?it?.currency.name:'-'}</td>
                                <td>${it?.creditLevel?it?.creditLevel:'-'}</td>
                                <td>${it?.creditAmount?it?.creditAmount:'-'}</td>
                                <td>${it?.creditBalance?it?.creditBalance:'-'}</td>
                            </tr>
                        </g:each>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </g:if>

%{--押品信息--}%
    <div class="row">
        <div class="hpanel hgreen" style="">
            <div class="panel-heading">
                <div class="panel-tools">
                    <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                </div>
                押品信息
            </div>
            <div class="panel-body no-padding">
                <table class="table table-striped table-bordered table-hover text-center">
                    <thead>
                    <tr>
                        <th>押品编号</th>
                        <th>押品状态</th>
                        <th>押品名称</th>
                        <th>城市</th>
                        <th>抵押人名称</th>
                        <th>登记人</th>
                        <th>登记机构</th>
                        <th>登记日期</th>
                        <th>变现能力</th>
                        <th>押品风险</th>
                    </tr>
                    </thead>
                    <tbody>
                    <g:each in="${com.cindata.MortgageCollateral.findAllByMortgage(mortgage)*.collateral}">
                        <tr>
                            <td><g:link class="firstTd" style="color: #3498DB" id="${it?.id}" action="show" controller="${it?.sourceClass}">${it?.externalId}</g:link></td>
                            <td>${it?.estateStatus?it?.estateStatus.name:'-'}</td>
                            <td>${it?.name?it?.name:'-'}</td>
                            <td>${it?.city?it?.city.name:'-'}</td>
                            <td>${it?.fullName?it?.fullName:'-'}</td>
                            <td>${it?.registerFullName?it?.registerFullName:'-'}</td>
                            <td>${it?.registerAccount?it?.registerAccount:'-'}</td>
                            <td>${it?.registerDate?it?.registerDate:'-'}</td>
                            <td>${it?.cashability?it?.cashability?.name:'-'}</td>
                            <td>
                                <g:if test="${it?.cltv>=0&&it?.cltv<=0.6}">低</g:if>
                                <g:if test="${it?.cltv>0.6&&it?.cltv<=0.8}">中</g:if>
                                <g:if test="${it?.cltv>0.8&&it?.cltv<=1}">高</g:if>
                                <g:if test="${it?.cltv>1}">损失</g:if>
                            </td>
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
        </div>
    </div>

    %{--合同信息--}%
    <div class="row">
        <div class="hpanel hgreen" style="">
            <div class="panel-heading">
                <div class="panel-tools">
                    %{--<g:link controller="contract" action="related" params="[mortgageId: mortgage?.id]"  class="btn btn-info btn-xs"><i class="fa fa-plus"></i>关联</g:link>--}%
                    %{--<g:link controller="contract" action="create" params="[mortgageId: mortgage?.id]"  class="btn btn-info btn-xs"><i class="fa fa-plus"></i>新建</g:link>--}%
                    <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                </div>
                合同信息
            </div>
            <div class="panel-body no-padding" style="overflow-x:scroll;">
                <table class="table table-striped table-bordered table-hover text-center">
                    <thead>
                    <tr>
                        <th>合同编号</th>
                        <th>合同类型</th>
                        <th>合同签订日期</th>
                        <th>质押权人/债权人</th>
                        <th>出质人/债务人</th>
                        <th>借款人类型</th>
                        <th>借款人单位</th>
                        <th>银行账号</th>
                        <th>开户地址</th>
                        <th>联系人</th>
                        <th>手机</th>
                        <th>开户行</th>
                        <th>开始日期</th>
                        <th>贷款期限</th>
                        <th>到期日期</th>
                        <th>贷款金额</th>
                        <th>贷款用途</th>
                        <th>付息方式</th>
                        <th>贷款年利率</th>
                        <th>逾期日利率</th>
                        <th>签约地点</th>
                        <th>担保人</th>
                        <th>抵质押内容</th>
                        <th colspan="2" width="8%" class="text-center">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    <g:each in="${com.cindata.MortgageContract.findAllByMortgage(mortgage)*.contract}">
                        <tr>
                            <td>${it?.contractNumber?it?.contractNumber:'-'}</td>
                            <td>${it?.type?.name?it?.type?.name:'-'}</td>
                            <td>${it?.contractSignDate?it?.contractSignDate:'-'}</td>
                            <td>${it?.contact?.fullName?it?.contact?.fullName:'-'}</td>
                            <td>${it?.pledgor?it?.pledgor:'-'}</td>
                            <td>${it?.borrowerType?.name?it?.borrowerType?.name:'-'}</td>
                            <td>${it?.borrowerCompany?it?.borrowerCompany:'-'}</td>
                            <td>${it?.bankNumber?it?.bankNumber:'-'}</td>
                            <td>${it?.openAddress?it?.openAddress:'-'}</td>
                            <td>${it?.linkMan?it?.linkMan:'-'}</td>
                            <td>${it?.telePhone?it?.telePhone:'-'}</td>
                            <td>${it?.openBank?it?.openBank:'-'}</td>
                            <td>${it?.startDate?it?.startDate:'-'}</td>
                            <td>${it?.loansDuration?it?.loansDuration:'-'}</td>
                            <td>${it?.endDate?it?.endDate:'-'}</td>
                            <td>${it?.loansAmount?it?.loansAmount:'-'}</td>
                            <td>${it?.loansUse?it?.loansUse?.name:'-'}</td>
                            <td>${it?.payInterestType?it?.payInterestType?.name:'-'}</td>
                            <td>${it?.loanAnnualInterestYearRate?it?.loanAnnualInterestYearRate:'-'}%</td>
                            <td>${it?.overdueInterestDayRate?it?.overdueInterestDayRate:'-'}%</td>
                            <td>${it?.signAddress?it?.signAddress:'-'}</td>
                            <td>${it?.guarantee?it?.guarantee:'-'}</td>
                            <td>${it?.collateralContent?it?.collateralContent:'-'}</td>
                            <td>
                                <g:link controller="contract" params="[id:it?.id,mortgageId: mortgage?.id]" action="edit" class="btn btn-info btn-xs btn-outline"><i class="fa fa-edit"></i> 编辑</g:link>
                            </td>
                            <td>
                                <g:form controller="contract" action="delete" style="display: inline-block" id="${it.id}" method="DELETE">
                                    <input type="hidden" name="mortgageId" value="${mortgage?.id}">
                                    <button class="deleteBtn btn btn-danger btn-xs btn-outline" type="button">
                                        <i class="fa fa-trash-o"></i>
                                        删除
                                    </button>
                                </g:form>
                            </td>
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
        </div>
    </div>

    %{--催收信息--}%
    <div class="row">
        <div class="hpanel hgreen" style="">
            <div class="panel-heading">
                <div class="panel-tools">
                    <g:link controller="collection" action="collectionDisposal" params="[mortgageId: mortgage?.id]"  class="btn btn-info btn-xs"><i class="fa fa-plus"></i>新建</g:link>
                    <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                </div>
                催收处置信息
            </div>
            <div class="panel-body no-padding" style="overflow-x:scroll;">
                <table class="table table-striped table-bordered table-hover text-center">
                    <thead>
                    <tr>
                        <th>序号</th>
                        <th>催收措施</th>
                        <th>催收时间</th>
                        <th>用户组</th>
                        <th>委外机构</th>
                        <th>催收负责人</th>
                        <th>客户约定还款计划</th>
                        <th>逾期还款后果提示</th>
                        <th>逾期原因</th>
                        <th>催收结果</th>
                        <th colspan="2" width="8%" class="text-center">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    %{--<g:each in="${com.cindata.MortgageContract.findAllByMortgage(mortgage)*.contract}">--}%
                        <tr>
                        <td><g:link style="color: #3498DB" class="firstTd" id="1" action="show">1</g:link></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td>
                                <g:link class="btn btn-xs btn-primary btn-outline" controller="attachment" action="create" params="[riskWarning: it?.id]">上传附件</g:link>
                            </td>
                            <td><g:link class="btn btn-xs btn-primary btn-outline" controller="contactRiskWarningDisposition" action="attachmentShow" params="[id: it?.id]">查看附件</g:link></td>
                        </tr>
                    %{--</g:each>--}%
                    </tbody>
                </table>
            </div>
        </div>
    </div>

    %{--诉讼信息--}%
    <div class="row">
        <div class="hpanel hgreen" style="">
            <div class="panel-heading">
                <div class="panel-tools">
                    <g:link controller="collection" action="add2" params="[mortgageId: mortgage?.id]"  class="btn btn-info btn-xs"><i class="fa fa-plus"></i>新建</g:link>
                    <a class="showhide"><i class="fa fa-chevron-up"></i></a>
                </div>
                诉讼处置信息
            </div>
            <div class="panel-body no-padding" style="overflow-x:scroll;">
                <table class="table table-striped table-bordered table-hover text-center">
                    <thead>
                    <tr>
                        <th>序号</th>
                        <th>案号</th>
                        <th>诉讼进展</th>
                        <th>抵押权人</th>
                        <th>抵押物</th>
                        <th>代偿时间</th>
                        <th>代偿金额(元)</th>
                        <th>诉讼标的(元)</th>
                        <th>立案时间</th>
                        <th>开庭时间</th>
                        <th>判决书日期</th>
                        <th>法官</th>
                        <th>书记员</th>
                        <th>申请执行时间</th>
                        <th>执行案号</th>
                        <th>执行法官</th>
                        <th colspan="2" width="8%" class="text-center">操作</th>
                    </tr>
                    </thead>
                    <tbody>
                    %{--<g:each in="${com.cindata.MortgageContract.findAllByMortgage(mortgage)*.contract}">--}%
                        <tr>
                        <td><g:link style="color: #3498DB" class="firstTd" id="1" action="show">1</g:link></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td></td>
                            <td>
                                <g:link class="btn btn-xs btn-primary btn-outline" controller="attachment" action="create" params="[riskWarning: it?.id]">上传附件</g:link>
                            </td>
                            <td><g:link class="btn btn-xs btn-primary btn-outline" controller="contactRiskWarningDisposition" action="attachmentShow" params="[id: it?.id]">查看附件</g:link></td>
                        </tr>
                    %{--</g:each>--}%
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<g:javascript>

</g:javascript>
</body>
</html>
